<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="org.apache.shiro.web.filter.authc.FormAuthenticationFilter"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title></title>
    <script src="https://cdn.staticfile.org/jquery/3.1.1/jquery.min.js"></script>
    <script type="text/javascript">

        document.addEventListener('plusready', function(){
            //console.log("所有plus api都应该在此事件发生后调用，否则会出现plus is undefined。"


        });

    </script>
    <link rel="stylesheet" href="https://cdn.bootcss.com/weui/1.1.2/style/weui.min.css">
    <link rel="stylesheet" href="https://cdn.bootcss.com/jquery-weui/1.2.0/css/jquery-weui.min.css">
    <script src="https://cdn.bootcss.com/jquery/1.11.0/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/jquery-weui/1.2.0/js/jquery-weui.min.js"></script>
</head>
<body>
<div class="weui-cells weui-cells_form">

    <div style="height: 100px;width: 100%; background-color: green;margin-bottom: 100px;"><div style="color: white;text-align: center;padding-top: 10%;">客户查询办理进度</div></div>
    <div class="weui-cell weui-cell_vcode">
        <div class="weui-cell__hd">
            <label class="weui-label">姓名</label>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <input class="weui-input" id="name" type="text" placeholder="请输入姓名">
            </div>
        </div>
    </div>
</div>
<div style="margin-top: 20px;"> <a href="javascript:;" class="weui-btn weui-btn_primary tijiao" style="width: 30%;">提交</a></div>
</body>
<script type="text/javascript">
    $(document).ready(function() {
        $(".tijiao").click(function () {
            var ss = $("#name").val();
            console.log(ss.length);
            if( ss.length!=0){
                $.toast("操作成功");
                location.href ='${ctw}/api/firm/getStatic?memberName='+ss;
            }else
            {
                $.toast("姓名不能为空!", "forbidden");
            }
        })
    });
</script>
</html>
